/*
 * Powered By [Transnal ES Framework]
 * Web Site: http://www.transnal.com
 * Copyright (c) 2010 - 2018
 */
package com.quanquan.repository;

import com.quanquan.entity.StudentInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentInfoRepository  extends JpaRepository<StudentInfo, Long> {
    StudentInfo findByMobile(String mobile);

    StudentInfo findById(Long id);

    List<StudentInfo> findByOnline(String online);

    StudentInfo findByToken(String token);

    List<StudentInfo> findByGrade(String grade);
}
